package com.boot.security.server.model.mffl;

import com.boot.security.server.model.BaseEntity;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value = "订单")
public class MfflOrder extends BaseEntity<Long> {

    @ApiModelProperty(value = "交易单号")
	private String payNumber;
    @ApiModelProperty(value = "商户单号")
	private String payMerchantNumber;
    @ApiModelProperty(value = "服务id(产品)")
	private Integer servierId;
    @ApiModelProperty(value = "服务名称")
	private String serviceName;
    @ApiModelProperty(value = "金额")
	private Double money;
    @ApiModelProperty(value = "用户id")
	private Integer userid;
    @ApiModelProperty(value = "修改时间")
	private Date updtaeTime;
    @ApiModelProperty(value = "是否删除(0删除,1正常)")
	private Integer deleteStae;
    @ApiModelProperty(value = "删除时间")
	private Date deleteTime;
    @ApiModelProperty(value = "服务类型id(什么类型的)")
	private Integer typeid;
    @ApiModelProperty(value = "产品id(用于确定到对应服务的位置)")
	private Integer productId;
    @ApiModelProperty(value = "0待支付，1支付，2退款 , 4申请退款,5支付中")
	private Integer state;

	public String getPayNumber() {
		return payNumber;
	}
	public void setPayNumber(String payNumber) {
		this.payNumber = payNumber;
	}
	public String getPayMerchantNumber() {
		return payMerchantNumber;
	}
	public void setPayMerchantNumber(String payMerchantNumber) {
		this.payMerchantNumber = payMerchantNumber;
	}
	public Integer getServierId() {
		return servierId;
	}
	public void setServierId(Integer servierId) {
		this.servierId = servierId;
	}
	public String getServiceName() {
		return serviceName;
	}
	public void setServiceName(String serviceName) {
		this.serviceName = serviceName;
	}
	public Double getMoney() {
		return money;
	}
	public void setMoney(Double money) {
		this.money = money;
	}
	public Integer getUserid() {
		return userid;
	}
	public void setUserid(Integer userid) {
		this.userid = userid;
	}
	public Date getUpdtaeTime() {
		return updtaeTime;
	}
	public void setUpdtaeTime(Date updtaeTime) {
		this.updtaeTime = updtaeTime;
	}
	public Integer getDeleteStae() {
		return deleteStae;
	}
	public void setDeleteStae(Integer deleteStae) {
		this.deleteStae = deleteStae;
	}
	public Date getDeleteTime() {
		return deleteTime;
	}
	public void setDeleteTime(Date deleteTime) {
		this.deleteTime = deleteTime;
	}
	public Integer getTypeid() {
		return typeid;
	}
	public void setTypeid(Integer typeid) {
		this.typeid = typeid;
	}
	public Integer getProductId() {
		return productId;
	}
	public void setProductId(Integer productId) {
		this.productId = productId;
	}
	public Integer getState() {
		return state;
	}
	public void setState(Integer state) {
		this.state = state;
	}

}
